package eteam.aps.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * 字典分类基础信息
 *
 * @author lizhi
 */
public class DataDictionaryCategoryBasicsVo {
    /**
     * 编号 ---唯一 ddc == DataDictionaryCategory not null
     */
    private String fDdcCode;

    /**
     * 名称 --- 唯一 not null
     */
    private String fDdcName;

    /**
     * 该类别下的字典的管理人，用于验证新建字典内容是否是该管理人；修改字典 不用验证---外键，关联 system模块的 user 的 fuserid not null
     */
    private String fDdcManagerId;

    /**
     * 管理人姓名
     */
    private String managerName;

    /**
     * 内码， 表的主键 ---雪花算法产生的long字符串 not null
     */
    private String fId;

    /**
     * 该条记录的备注
     */
    private String fRemark;

    /**
     * 审核状态【0草稿；10审核中；20作废；30审核通过】not null
     */
    private int fState;

    /**
     * 创建人---外键，关联 system模块的 user 的 fuserid not null
     */
    private String fCreateUserId;

    /**
     * 创建人姓名
     */
    private String createName;

    /**
     * 创建时间 not null
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime fCreatorTime;

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public String getfRemark() {
        return fRemark;
    }

    public void setfRemark(String fRemark) {
        this.fRemark = fRemark;
    }

    public int getfState() {
        return fState;
    }

    public void setfState(int fState) {
        this.fState = fState;
    }

    public String getfCreateUserId() {
        return fCreateUserId;
    }

    public void setfCreateUserId(String fCreateUserId) {
        this.fCreateUserId = fCreateUserId;
    }

    public LocalDateTime getfCreatorTime() {
        return fCreatorTime;
    }

    public void setfCreatorTime(LocalDateTime fCreatorTime) {
        this.fCreatorTime = fCreatorTime;
    }

    public String getfDdcCode() {
        return fDdcCode;
    }

    public void setfDdcCode(String fDdcCode) {
        this.fDdcCode = fDdcCode;
    }

    public String getfDdcName() {
        return fDdcName;
    }

    public void setfDdcName(String fDdcName) {
        this.fDdcName = fDdcName;
    }

    public String getfDdcManagerId() {
        return fDdcManagerId;
    }

    public void setfDdcManagerId(String fDdcManagerId) {
        this.fDdcManagerId = fDdcManagerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }
}